import { computed } from "vue";
import { useDesignSettingStore } from "@/store/modules/designSetting";

export function useDesignSetting() {
  const designStore = useDesignSettingStore();

  // 获取主题
  const getDarkTheme = computed(() => designStore.darkTheme);
  // 获取主题风格
  const getAppTheme = computed(() => designStore.getAppTheme);
  //
  const getAppThemeList = computed(() => designStore.getAppThemeList);

  return {
    getDarkTheme,
    getAppTheme,
    getAppThemeList,
  };
}
